package cloning.my;

public class InnerObject implements Cloneable {

	private String text;

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public InnerObject clone() {
		try {
			return (InnerObject) super.clone();
		} catch (CloneNotSupportedException e) {

			e.printStackTrace();
		}
		return null;

	}
}
